<?php /* Smarty version Smarty3-RC3, created on 2011-09-20 22:25:00
         compiled from "./templates/blueclassic/component_survey.html" */ ?>
<?php /*%%SmartyHeaderCode:1714e78a23c765300-50829608%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f5b8a49b81abcc57545da4160c434b1d6110a583' => 
    array (
      0 => './templates/blueclassic/component_survey.html',
      1 => 1279864610,
    ),
  ),
  'nocache_hash' => '1714e78a23c765300-50829608',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php echo $_smarty_tpl->smarty->registered_objects['sdb'][0]->survey(array('ID'=>"-1"),$_smarty_tpl->smarty,$_smarty_tpl);?>

<table width="180" border="0" cellpadding="0" cellspacing="0">
	<form name="survey_<?php echo $_smarty_tpl->getVariable('survey')->value['ID'];?>
" action="<?php echo $_smarty_tpl->getVariable('Sys')->value['URL']['SurveySub'];?>
" method="post" target="_blank">
	<tr>
		<td class="List" colspan="2"><?php echo $_smarty_tpl->getVariable('Html')->value['Survey'];?>
</td>
	</tr>
	<tr><td colspan="2" class="Dx" height="30"><strong><?php echo $_smarty_tpl->getVariable('survey')->value['SurveyTitle'];?>
</strong></td></tr>
	<?php  $_smarty_tpl->tpl_vars['s'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('survey')->value['SurveyOptions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['s']->key => $_smarty_tpl->tpl_vars['s']->value){
 $_smarty_tpl->tpl_vars['i']->value = $_smarty_tpl->tpl_vars['s']->key;
?> 						
	<tr>
		<td height="26" class="Dx"><?php echo $_smarty_tpl->getVariable('survey')->value['InputHTML'][$_smarty_tpl->tpl_vars['i']->value];?>
</td><td class="Dx"><?php echo $_smarty_tpl->getVariable('survey')->value['SurveyOptions'][$_smarty_tpl->tpl_vars['i']->value];?>
</td>
	</tr>
	<?php }} ?>
	<tr><td colspan="2">
		<input type="hidden" name="pid" value="<?php echo $_smarty_tpl->getVariable('survey')->value['ID'];?>
" />
		<input type="submit" value="<?php echo $_smarty_tpl->getVariable('Html')->value['Submit'];?>
" style="height:24px; width:60px; cursor:pointer; margin:5px 20px 0 20px;" />
		<input type="button" value="<?php echo $_smarty_tpl->getVariable('Html')->value['Show'];?>
" style="height:24px; width:60px; cursor:pointer;" onClick="javascript:window.open('<?php echo $_smarty_tpl->getVariable('survey')->value['URL'];?>
','_blank');"/>	
	</td></tr>
	</form>
</table>
